package com.tengju.bff.interfaces.covercharge.constant;

import com.idanchuang.component.config.apollo.util.ConfigUtil;

/**
 * @author liang_shi
 * @date 2020/7/25 17:45
 * @description 通知关联
 */
public class NotifyConstants {

    /**
     * 从apollo获取通知地址
     */
    private static String getNotifyUrl() {
        return ConfigUtil.getConfig().getString("notify.url", "https://api-dev.datatreeglobal.com/cover-charge/notify");
    }

    /**
     * 上上签通知地址
     */
    public static final String BEST_SIGN_NOTIFY_URL = getNotifyUrl() +
            "/" + NotifyBizImplEnum.BIZ_IMPL_1.getChannel() + "/" + NotifyBizImplEnum.BIZ_IMPL_1.getBizType() + "/";


}
